3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D defines a set of file mode flags to specify a file object's current file mode. The file mode is returned to you when you call Q3File_OpenRead , Q3Open_Write , or Q3File_GetMode .
typedef enum TQ3FileModeMasks {
kQ3FileModeNormal = 0,
kQ3FileModeStream = 1 << 0,
kQ3FileModeDatabase = 1 << 1,
kQ3FileModeText = 1 << 2
} TQ3FileModeMasks;
You can combine the kQ3FileModeText mask with any of the other masks, and you can combine the kQ3FileModeStream and kQ3FileModeDatabase masks in a single file mode.
Previous | QD3D Book | Overview | Chapter Contents | Next |